<#if valuetype.ID??>
	缺省值列表:<br>
	<#-- value labels -->
	<@form action="console/valuetype/labels/${valuetype.ID}/add">
	<table class="datatable"><thead><tr>
		<th> # </th>
		<th>label</th>
		<th>value</th>
		<th>op</th>
	</tr></thead><tbody>
	<#if valuetype.valueLabels??>
		<#list valuetype.valueLabels as vl>
			<tr>
				<td>${vl_index + 1}</td>
				<td>${S(vl.label)}</td>
				<td>${Utils.DoubleFormat(vl.value)}</td>
				<td><nobr>
					[<a href="${URL('console/valuetype/labels/', valuetype.ID, '/up/', vl.value)}">上移</a>]
					[<a href="${URL('console/valuetype/labels/', valuetype.ID, '/down/', vl.value)}">下移</a>]
					[<a href="${URL('console/valuetype/labels/', valuetype.ID, '/remove/', vl.value)}">删除</a>]
				</nobr></td>
			</tr>
		</#list>
	</#if>
	<tr>
		<td>&nbsp;</td>
		<td><@input f="valueLabel.label" v=""/></td>
		<td><@input f="valueLabel.value" v=""/></td>
		<td><@button>添加</@button></td>
	</tr>
	</tbody></table>
	</@form>
</#if>